package com.example.map.myapplication;

/**
 * Created by qundui on 2017/5/25.
 */

import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


public class ShowFragment extends Fragment {

    com.tencent.smtt.sdk.WebView webview=null;
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.show, container, false);
        webview=(com.tencent.smtt.sdk.WebView) view.findViewById(R.id.webview);
        webview.clearCache(true);
        return view;
    }

    @Override
    public void onAttach(Activity activity) {
        super.onAttach(activity);
    }

    public com.tencent.smtt.sdk.WebView getWebView()
    {
        return webview;
    }
}
